﻿using System.Threading;
using UtfprLibrary.Windows.Forms;

namespace WinFormApp_Sample.WinForm {
    public sealed partial class FormMain : UtfprFormMainBase {

        public FormMain() {
            InitializeComponent();
        }

        private void utfprToolStripMenuItem_Sair_Click(object sender, System.EventArgs e) {
            Close();
        }

        private void FormMain_Load(object sender, System.EventArgs e) {
            UtfprSplashBaseHelper.UdpateStatus("Inicialização completa", UtfprLibrary.Windows.Forms.ComponentModel.SplashMessageTypeEnum.Info);
            Thread.Sleep(100);
            UtfprSplashBaseHelper.CloseSplashScreen();
        }

        private void utfprToolStripMenuItem1_Click(object sender, System.EventArgs e) {
            new FormFooCrud().ShowDialog();
        }

        private void utfprToolStripMenuItem2_Click(object sender, System.EventArgs e) {
            new FormFooRequiredCrud().ShowDialog();
        }

        private void _utfpr_mspMenu_tmiManutencao_tmiEstadoCidade_Click(object sender, System.EventArgs e) {
            new FormEstadoCidadeCrud().ShowDialog();
        }

        private void toolStripMenuItem1_Click(object sender, System.EventArgs e) {
            
        }
    }
}
